package com.smartplatform.service;

import com.github.pagehelper.PageInfo;
import com.smartplatform.dto.DeviceDto;
import com.smartplatform.pojo.SysDevice;

/**
 * @Author 咕唧
 * @Date 2022/5/30 21:38
 * @Version 1.0
 */
public interface SysDeviceService {
    void addDevice(DeviceDto deviceDto);

    void updateSell(String deviceId);

    void bindDevice(String deviceId, Long sceneId);


    PageInfo<SysDevice> findAllDevices(int page, int limit);

    void sendControl(String deviceId, String command);

    void updateDevice(String deviceId, String ip);
}
